from symbide import ModuleManager, LogManager

def load_csv(*args):
    if ModuleManager.hasModule('numpy'):
        from load_csv import load_csv as load
        return load(*args)
    else:
        error = "Numpy not available! Can't load csv-file."
        LogManager.alert(error)
        def notavailable(*args):
            raise error
        return notavailable
        